package org.insia.smartposse.beans;

import java.util.Date;

public class Users {
	private Long id;
	private String login;
	private String password;
	private String firstName;
	private String lastName;
	private Date birthday;
	private String email;
	private String website;
	private String description;
	private String avatar;
	private Double salary;
	private String language;
	private Integer emailAnonyme;
	private Integer freelance;
	private Integer manager;

	public Users() {
	}

	
	public Users(Long id, String login, String password, String first_name, String last_name, Date birthday, 
			String email, String website, String description, String avatar, Double salary, String language, 
			Integer email_anonyme, Integer freelance, Integer manager) {
		this.id = id;
		this.login = login;
		this.password = password;
		this.firstName = first_name;
		this.lastName = last_name;
		this.birthday = birthday;
		this.email = email;
		this.website = website;
		this.description = description;
		this.avatar = avatar;
		this.salary = salary;
		this.language = language;
		this.emailAnonyme = email_anonyme;
		this.freelance = freelance;
		this.manager = manager;
	}


	public Users(final String login, String password) {

		this.password = password;
		this.login = login;

	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the login.
	 */
	public String getLogin() {
		return login;
	}


	/**
	 * @param login The login to set.
	 */
	public void setLogin(String login) {
		this.login = login;
	}

	/**
	 * @return Returns the password.
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * set the password not encoding, for Hibernate
	 *
	 * @param password The password to set.
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the avatar
	 */
	public String getAvatar() {
		return avatar;
	}

	/**
	 * @param avatar the avatar to set
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	/**
	 * @return the birthday
	 */
	public Date getBirthday() {
		return birthday;
	}

	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the email_anonyme
	 */
	public Integer getEmailAnonyme() {
		return emailAnonyme;
	}

	/**
	 * @param email_anonyme the email_anonyme to set
	 */
	public void setEmailAnonyme(Integer email_anonyme) {
		this.emailAnonyme = email_anonyme;
	}

	/**
	 * @return the first_name
	 */
	public String getFirst_name() {
		return firstName;
	}

	/**
	 * @param first_name the first_name to set
	 */
	public void setFirst_name(String first_name) {
		this.firstName = first_name;
	}

	/**
	 * @return the freelance
	 */
	public Integer getFreelance() {
		return freelance;
	}

	/**
	 * @param freelance the freelance to set
	 */
	public void setFreelance(Integer freelance) {
		this.freelance = freelance;
	}

	/**
	 * @return the language
	 */
	public String getLanguage() {
		return language;
	}

	/**
	 * @param language the language to set
	 */
	public void setLanguage(String language) {
		this.language = language;
	}

	/**
	 * @return the last_name
	 */
	public String getLast_name() {
		return lastName;
	}

	/**
	 * @param last_name the last_name to set
	 */
	public void setLast_name(String last_name) {
		this.lastName = last_name;
	}

	/**
	 * @return the manager
	 */
	public Integer getManager() {
		return manager;
	}

	/**
	 * @param manager the manager to set
	 */
	public void setManager(Integer manager) {
		this.manager = manager;
	}

	/**
	 * @return the salary
	 */
	public Double getSalary() {
		return salary;
	}

	/**
	 * @param salary the salary to set
	 */
	public void setSalary(Double salary) {
		this.salary = salary;
	}

	/**
	 * @return the website
	 */
	public String getWebsite() {
		return website;
	}

	/**
	 * @param website the website to set
	 */
	public void setWebsite(String website) {
		this.website = website;
	}

}
